<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>防控知识列表</title>
    <link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.min.css}">
</head>
<body style="background: #f2f2f2;">
<div th:insert="~{common/header::header1}"></div>
<div class="container">
    <div class="row">
        <div class="col-md-9 blog-main">
            <div th:each="typeInfo:${typeInfos}" class="media text-muted pt-3" style="border: red;border-radius: 5px;border-width: 2px">
                <!-- 标题 -->
                <h1>
                    <p th:text="${typeInfo.getTypeName()}"></p>
                </h1>
                <h2>
                    <a th:each="factInfo:${factInfos}" th:if="${typeInfo.getTypeName()==factInfo.getTypeName()}" th:text="${factInfo.getFactTitle()}" class="text-dark font-weight-bold text-decoration-none d-block"></a>
                </h2>
            </div>
            <!--分页-->
        </div>
    </div>
</div>>

<script th:src="@{/jquery/jquery-3.5.1.min.js}"></script>
<script th:src="@{/bootstrap/js/bootstrap.min.js}"></script>
<script th:src="@{/jquery/toTop.js}"></script>
</body>
</html>